<script setup lang="ts">

const search = () => {
  console.log('search')
}
</script>

<template>
  <view class="home">
    <view class="header">
        <input class="uni-input" type="text" placeholder="搜索库存列表" />
        <button class="uni-button" @click="search">搜索</button>
    </view>
  </view>
</template>

<style lang="scss">
.home {
    width: 100%;
    padding: 0px 20px;
    .header {
        .uni-input {
            left: 20px;
            top: 0px;
            width: 280px;
            height: 39px;
            opacity: 1;
            border-radius: 215px;
            background: #F1F5F9;
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 10px 10px 10px 16px;
        }
    }
}
</style>
